#pragma once
#include <string>
#include <vector>

#include "Observer.h"

using namespace std;

class Observable
{
 public:
  Observable(void);

  void attach(Observer *myObserver);
  void detach(Observer *myObserver);
  string* getState();
  void notifyObs();

 private:
  vector<Observer*> myObs;

 public:
  ~Observable(void);
};
